class Jiou:
    def __init__(self, seed = True):
        self.status = seed
    def jiou(self):
        if self.status:
            self.status = False
            return 1
        else:
            self.status = True
            return 2

def datestr(dt):
    return "%s %s-%s"%(dt.year, dt.month, dt.day)
